{load header}
<!--/H-->
    <!-- 内容区 -->
    <div id="main-content">
        <div id="top-alert" class="fixed alert alert-error" style="display: none;">
            <button class="close fixed" style="margin-top: 4px;">&times;</button>
            <div class="alert-content">这是内容</div>
        </div>
        <div id="main" class="main">
            
            <!-- nav -->
                        <!-- nav -->
            

            
	<div class="main-title">
        <h2>{$act_t}字典</h2>
    </div>
    <form action="" method="post" class="form-horizontal">
        <div class="form-item">
            <label class="item-label">字典名称<span class="check-tips">（用户名会作为登录的凭证）</span></label>
            <div class="controls">
                <input type="text" class="text input-large" name="name" maxlength="20" value="{$item['name']}">
            </div>
        </div>
		<div class="form-item">
            <label class="item-label">字典值<span class="check-tips"></span></label>
            <div class="controls">
                <input type="text" class="text input-large" name="value" value="{$item['value']}">
            </div>
        </div>
	
		<div class="form-item">
            <label class="item-label">选择字典类型<span class="check-tips">（选择管理人员的用户角色）</span></label>
            <div class="controls">
                <select name="type">
					<option value="">-请选择-</option>
                    <option value="1" {if $item['type']==1}selected{/if}>请求来源</option>
                    <option value="2" {if $item['type']==2}selected{/if}>请求flag</option>
                    <option value="3" {if $item['type']==3}selected{/if}>任务标签</option>
				</select>
            </div>
        </div>

                <input type="hidden" name="id" value="{$item['id']}"/>
        <div class="form-item">
            <button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </form>
			</div>
	</div>
<!--F-->{load footer}